import Vue from 'vue';
import Router from 'vue-router';
import Index from '@/pages/index';
import Edit from '@/pages/edit';
import Wangwang from '@/pages/wangwang';

Vue.use(Router);

export default new Router({
    // mode: 'history',
    routes: [
        {
            path: '/',
            name: 'index',
            component: Index
        }, {
            path: '/edit',
            name: 'edit',
            component: Edit
        }, {
            path: '/wangwang',
            name: 'wangwang',
            component: Wangwang
        }
    ]
});
